{% extends "editor/state_editor_row.html" %}

{% block label %}state name{% endblock %}

{% block info %}{% endblock %}

{% block center %}
  <h3>
    <input type="text" ng-model="uiStateName" ng-blur="saveStateName(uiStateName)">
  </h3>
{% endblock %}

{% block right %}
  <button ng-if="!stateNameMemento"
      ng-click="openStateNameEditor()" class="pull-right">
    Edit name
  </button>
{% endblock %}
